
import { Component } from '@angular/core';
import {  ModalController ,NavController,NavParams} from 'ionic-angular';
import { LoginPage } from "../login/login";


@Component({
  selector: 'page-contact',
  templateUrl: 'contact.html'
})
export class ContactPage {
  uuuu: string = './assets/imgs/uuuu.png';
  two: string = './assets/imgs/name.png';
  three: string = './assets/imgs/phone.png';
  temp;
  mobile;
  name;
  account;
  constructor(public modalCtrl: ModalController,public navCtrl: NavController,public navParams: NavParams) {
    this.mobile=this.navParams.data.value.user.mobile;
    this.name=this.navParams.data.value.user.name;
    this.account=this.navParams.data.value.user.account;
  }


  

  logOut() {
    
    this.navCtrl.push(LoginPage);
  }
}